package com.koron.operation.classes.shift.bean.print;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

/**
 * @author jzp
 * @since 2022/3/31
 */
@Data
@Slf4j
public class ShiftPrintDTO implements Cloneable {

    @ApiModelProperty("本值班别")
    private String logo;

    @ApiModelProperty("本值班别")
    private String thisShiftName;

    @ApiModelProperty("下值实际接班时间")
    private String nextTime;

    @ApiModelProperty("交班人")
    private String thisShiftUserName;

    @ApiModelProperty("接班人")
    private String nextShiftUserName;

    @ApiModelProperty("一级项")
    private String firstLevel;

    @ApiModelProperty("二级项")
    private String secondLevel;

    @ApiModelProperty("内容")
    private String content;

    public static final Logger LOGGER = LogManager.getLogger(ShiftPrintDTO.class);

    @Override
    public ShiftPrintDTO clone() {
        try {
            return (ShiftPrintDTO)super.clone();
        } catch (CloneNotSupportedException e) {
            LOGGER.error(e);
        }
        return null;
    }

}
